<html>
<head>
    <g:javascript library="jquery"/>
	<r:require module="jquery"/>
</head>

<body>
	
	<ul id="menu">
		<li> 
		   <g:remoteLink action="ajaxRandom" update="showBook"> Next Book </g:remoteLink>
		</li>
		<li> 
		   <g:link action="list"> Admin
		</g:link>
		</li>		
	</ul>
		<div id="showBook">	
		<q>${aBook.title}</q>
		<p>${aBook.author}</p>
				<p>${aBook.category}</p>
		
		<p>${aBook.description}</p>
	
		<p>ISBN: ${aBook.ISBN}</p>
		<p>${aBook.language}</p>
		
		<p>Grade levels ${aBook.minGradeLevel} to ${aBook.maxGradeLevel}</p>


</div>
	<r:layoutResources/> 		
</body>

</html>
